package cc.mango.android.dto;

public class StkDaily
{
	//<DTYYYYMMDD>,<OPEN>,<HIGH>,<LOW>,<CLOSE>,<VOL>
	private String		dtyyyymmdd;
	private double		open;
	private double		high;
	private double		low;
	private double		close;
	private double		vol;
	private double		rsi	= -1;
	private double		sma10;
	private double		sma50;
	private boolean	isTouch;
	private float		xLocation;

	public float getxLocation()
	{
		return xLocation;
	}

	public void setxLocation(float xLocation)
	{
		this.xLocation = xLocation;
	}

	public boolean isTouch()
	{
		return isTouch;
	}

	public void setTouch(boolean isTouch)
	{
		this.isTouch = isTouch;
	}

	public String getDtyyyymmdd()
	{
		return dtyyyymmdd;
	}

	public void setDtyyyymmdd(String dtyyyymmdd)
	{
		this.dtyyyymmdd = dtyyyymmdd;
	}

	public double getOpen()
	{
		return open;
	}

	public void setOpen(double open)
	{
		this.open = open;
	}

	public double getHigh()
	{
		return high;
	}

	public void setHigh(double high)
	{
		this.high = high;
	}

	public double getLow()
	{
		return low;
	}

	public void setLow(double low)
	{
		this.low = low;
	}

	public double getClose()
	{
		return close;
	}

	public void setClose(double close)
	{
		this.close = close;
	}

	public double getVol()
	{
		return vol;
	}

	public void setVol(double vol)
	{
		this.vol = vol;
	}

	public double getRsi()
	{
		return rsi;
	}

	public void setRsi(double rsi)
	{
		this.rsi = rsi;
	}

	public double getSma10()
	{
		return sma10;
	}

	public void setSma10(double sma10)
	{
		this.sma10 = sma10;
	}

	public double getSma50()
	{
		return sma50;
	}

	public void setSma50(double sma50)
	{
		this.sma50 = sma50;
	}

	@Override
	public String toString()
	{
		// TODO Auto-generated method stub		

		String s = "\n===================\n" + "\n dtyyyymmdd:	" + dtyyyymmdd
				+ "\n high:	" + high + "\n low:	" + low + "\n open:	"
				+ open + "\n close:	" + close + "\n vol:	" + vol
				+ "\n rsi:	" + rsi + "\n sma10:	" + sma10 + "\n sma50:	"
				+ sma50 + "\n===================\n";

		//		System.out.print(s);
		//		
		super.toString();

		return s;
	}

}
